package listen

import (
	"context"
	"github.com/zeromicro/go-zero/core/service"
	"xialou_platform/services/wallet/api/internal/config"
	"xialou_platform/services/wallet/api/internal/svc"
)

// return all consumers
func Mqs(c config.Config) []service.Service {
	svcContext := svc.NewServiceContext(c)
	ctx := context.Background()
	var services []service.Service

	services = append(services, xiaLouWalletIncomeExpireMq(c, ctx, svcContext)...)
	services = append(services, xiaLouUserBindAgentQueueMq(c, ctx, svcContext)...)

	return services
}
